<?php if(!defined("PATH_HD"))exit;C("SHOW_NOTICE",false);?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="generator" content="MetInfo 5.0" />
<link href="http://www.metinfo.cn/demo/metv5/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" type="text/css" href="<?php echo $template;?>/templates/metv5/images/css/metinfo.css" />
<script src="<?php echo $template;?>/public/js/jQuery1.7.2.js" type="text/javascript"></script>
<!--[if IE]>
<script src="../../../../api.metinfo.cn/met_public/html5.js" type="text/javascript"></script>
<![endif]-->
</head>
<body>

<style>
A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}
A.applink       {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}
A.info          {color:#2F5BFF;background:transparent;text-decoration:none}
A.info:hover    {color:green;background:transparent;text-decoration:underline}
</style>
    <header>
		<div class="inner">
			<div class="top-logo">
				<a href="http://www.metinfo.cn/demo/metv5/" title="ç½‘ç«™åç§°" id="web_logo">
					<img src="<?php echo $template;?>/upload/201207/1342516579.png" alt="" title="" style="margin:20px 0px 0px 0px;" />
				</a>
				<ul class="top-nav list-none">
					<li class="t">
						<a href='#' onclick='SetHome(this,window.location);' style='cursor:pointer;' title=''  >设为首页</a>
						<span>|</span>
						<a href='#' onclick='addFavorite();' style='cursor:pointer;' title=''  >收藏本站</a>
						<span>|</span>
						<a class=fontswitch id=StranLink href="javascript:StranBody()">繁体中文</a>
						<script src="../public/js/ch.js" type="text/javascript"></script>
					</li>
					<li class="b">
						<p>优化推广-SEO参数设置-头部优化文字</p>
					</li>
				</ul>
			</div>
			<nav>
				<ul class="list-none">
					<li id="nav_10001" style='width:121px;'>
						<a href='http://localhost/cms0121/index.php' title='' class='nav'>
							<span>网站首页</span>
						</a>
					</li>
					<li class="line"></li>
					<li id='nav_1' style='width:121px;'>
						<a href='http://www.metinfo.cn/demo/metv5/about/' 0 title='' class='hover-none nav'>
							<span>关于我们</span>
						</a>
					</li>
					<li class="line"></li>
					<li id='nav_2' style='width:121px;'>
						<a href='http://localhost/cms0121/index.php?c=index&m=cat&cid=61'  title='' class='hover-none nav'>
							<span>新闻资讯</span>
						</a>
					</li>
					<li class="line"></li>
					<li id='nav_3' style='width:121px;'>
						<a href='http://localhost/cms0121/index.php?c=index&m=cat&cid=66'  title='' class='hover-none nav'>
							<span>产品展示</span>
						</a>
					</li>
					<li class="line"></li>
					<li id='nav_32' style='width:121px;'>
						<a href='http://localhost/cms0121/index.php?c=index&m=cat&cid=62'  title='' class='hover-none nav'>
							<span>下载中心</span>
						</a>
					</li>
					<li class="line"></li>
					<li id='nav_33' style='width:121px;'>
						<a href='http://localhost/cms0121/index.php?c=index&m=cat&cid=78'  title='' class='hover-none nav'>
							<span>客户案例</span>
						</a>
					</li>
					<li class="line"></li>
					<li id='nav_36' style='width:120px;'>
						<a href='http://localhost/cms0121/index.php?c=index&m=cat&cid=75'  title='' class='hover-none nav'>
							<span>招贤纳士</span>
						</a>
					</li>
					<li class="line"></li>
					<li id='nav_22' style='width:120px;'>
						<a href='http://localhost/cms0121/index.php?c=index&m=cat&cid=81'  title='' class='hover-none nav'>
							<span>联系我们</span>
						</a>
					</li>
				</ul>
			</nav>
		</div>
	</header>

	<div class="inner met_flash">
		<div class="flash">
			<a href='http://www.metinfo.cn/' target='_blank' title=''>
				<img src='<?php echo $template;?>/upload/201207/1342430358.jpg' width='980' alt='' height='90'>
			</a>
		</div>
	</div>


<div class="sidebar inner">
    <div class="sb_nav">

			<h3 class='title myCorner' data-corner='top 5px'><?php echo $result[0]['catname'];?></h3>
			<div class="active" id="sidebar" data-csnow="4" data-class3="0" data-jsok="2">
				<?php $db = M("category");
$cid = $_GET["cid"];
$rows = $db->where("pid=$cid")->all();
foreach($rows as $field):?>

				<dl class="list-none navnow"> 
					<dt id='part2_4'>
						<a href=''  title='' class="zm">
							<span><?php echo $field['catname'];?></span>
						</a>
					</dt>
				</dl>
				<?php endforeach;?>

				<div class="clear"></div>
			</div>

			<h3 class='title line myCorner' data-corner='top 5px'>联系我们</h3>
			<div class="active editor">
				<?php $db = M("config");
$rows = $db->where("cid>5")->all();
foreach ($rows as $field):?>

				<div>
					<?php echo $field['value'];?>
				</div>
				<?php endforeach;?>

				<div class="clear"></div>
			</div>
    </div>
    <div class="sb_box">
	    <h3 class="title">
			<div class="position">当前位置
				<a href="http://www.metinfo.cn/demo/metv5/" title="">网站首页>
				</a> 
				<a href=http://www.metinfo.cn/demo/metv5/news/ ><?php echo $result[0]['catname'];?></a> 
			</div>
			<span><?php echo $result[0]['catname'];?></span>
		</h3>
		<div class="clear"></div>

        <div class="active" id="shownews">
        	<?php
$db=M("arc");
$rows=$db->where("aid=$_GET[aid]")->all();
foreach($rows as $field):?>

        	<h1 class='title'>示例产品七</h1>
            <dl class='pshow'>
            	
                <dt>
                	<span class='info_img' id='imgqwe'>
                		<a href="">
                		<img src='<?php echo $field['thumbimg'];?>' alt='' title='' width=350 height=350/>
                		</a>
                	</span>
				</dt>
		        <dd> 
		            <ul class="list-none"></ul>
		        </dd>
		        
	        </dl>
	        <?php endforeach;?>

			<div class="clear"></div>
		</div>
			<div class="met_hits">
				<div class='metjiathis'>
					<div class="jiathis_style">
						<span class="jiathis_txt"></span>
						<a class="jiathis_button_icons_1"></a>
						<a class="jiathis_button_icons_2"></a>
						<a class="jiathis_button_icons_3"></a>
						<a class="jiathis_button_icons_4"></a>
						<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
					</div>
					<script type="text/javascript" src="../../../../v3.jiathis.com/code/jia.js¿uid=1346378669840136" charset="utf-8">
					</script>
				</div>
				<span>
					<script language='javascript' src='../include/hits.php¿type=news&id=1.html'>
					</script>
				</span>	<?php
$db=M("arc");
$rows=$db->where("aid=$_GET[aid]")->all();
foreach($rows as $field):?>

						点击次数： <?php echo $field['click'];?> 更新时间：<?php echo format_time($field['addtime']);?>
						<?php endforeach;?>
  
				<a href="javascript:window.print()">【打印此页】</a>
				<a href="javascript:self.close()">关闭</a>
			</div>
            <div class="met_page">
            	上一条
            	<a href='http://www.metinfo.cn/demo/metv5/news/news3.html' ></a>
            	下一条
            	<a href='http://www.metinfo.cn/demo/metv5/news/news2.html' ></a>
            </div>
            <div class="pinglun">
	        	<div class="pltop">
	        		<h2 id="online">在线评论</h2>
	        	</div>
	        	<form action="http://localhost/cms0121/admin.php/comment/addcom" method="post">
	        		<input type="hidden" name="aid" value=<?php echo $_GET['aid'];?>>
	        		<?php if ($_SESSION['id']): ?>
	        			<input type="hidden" name="userid" value=<?php echo $_SESSION['id'];?>>
	        			
	        		<?php endif ?>
	        	<textarea name="content" id="text" cols="50" rows="5"></textarea>
	        	<input type="submit" value="提交评论">
	        	</form>
        	</div>
        	<?php $db = M("comment");
$rows = $db->where(array("aid"=>$_GET[aid],"over"=>1))->order("cmid desc")->limit(10)->all();
foreach($rows as $field):?>

        	<div class="plzs" aid=<?php echo $_GET['aid'];?>>
        		<div class="content">
        			<span class="ut">用户:<?php echo $field['userid'];?></span> 
        			<span class="ut">评论时间:<?php echo format_time($field['addtime']);?></span>
        			<li class="plcontent"><?php echo $field['content'];?></li>
        		</div>
        		
        	</div>
        	<?php endforeach;?>

        </div>
    </div>
    <div class="clear"></div>    
</div> 

<footer data-module="10001" data-navdown="10001" data-classnow="10001">
	<div class="inner">
		<div class="foot-nav">
			<a href='http://www.metinfo.cn/demo/metv5/news/news_4_1.html'  title=''>公司动态</a>
			<span>|</span>
			<a href='http://www.metinfo.cn/demo/metv5/message/'  title=''>在线留言</a>
			<span>|</span>
			<a href='http://www.metinfo.cn/demo/metv5/feedback/'  title=''>在线反馈</a>
			<span>|</span>
			<a href='http://www.metinfo.cn/demo/metv5/link/'  title=''>友情链接</a>
			<span>|</span>
			<a href='http://www.metinfo.cn/demo/metv5/sitemap/'  title=''>网站地图</a>
		</div>
		<div class="foot-text">
			<p>我的网站 版权所有 2008-2012 湘ICP备8888888 </p>
			<p>电话:0731-12345678 12345678  QQ:88888888 999999  Email:metinfo@metinfo.cn</p>
			<div class="powered_by_metinfo">
				Powered&nbsp;by&nbsp;
				<a href="http://www.metinfo.cn/" target="_blank" title="">MetInfo&nbsp;5.0</a>
				&copy;2008-2012&nbsp;
				<a href="http://www.metinfo.cn/" target="_blank" title="">www.metinfo.cn</a>
			</div>
		</div>
	</div>
</footer>
<script src="../templates/metv5/images/js/fun.inc.js" type="text/javascript"></script>

</body>
</html>
